package com.hkts.naturalgas.dictionaries.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2021-06-23
 */
public class HktsEnvironmentProtectionItem extends Model<HktsEnvironmentProtectionItem> {

private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
                            private String id;
    /**
     * 字段描述
     */
        private String filedDescribe;
    /**
     * 字段名称
     */
        private String fieldName;
    /**
     * 数据类型
     */
        private String dataType;
    /**
     * 创建时间
     */
        private LocalDateTime createTime;
    /**
     * 工控对接字段
     */
        private String correspondingField;
    /**
     * 是否导出
     */
        private String isExport;
    /**
     * 是否默认（id,time,字段为默认字段）
     */
        private String isDefault;
    /**
     * 是否显示
     */
        private String isShow;
    /**
     * 是否启用
     */
        private String isEnable;
    /**
     * 字典表主键
     */
        private String tableId;
    /**
     * 排序字段
     */
    private Integer filedOrder;

    public Integer getFiledOrder() {
        return filedOrder;
    }

    public void setFiledOrder(Integer filedOrder) {
        this.filedOrder = filedOrder;
    }

    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getFiledDescribe(){
            return filedDescribe;
            }

        public void setFiledDescribe(String filedDescribe) {
            this.filedDescribe = filedDescribe;
            }

    public String getFieldName(){
            return fieldName;
            }

        public void setFieldName(String fieldName) {
            this.fieldName = fieldName;
            }

    public String getDataType(){
            return dataType;
            }

        public void setDataType(String dataType) {
            this.dataType = dataType;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public String getCorrespondingField(){
            return correspondingField;
            }

        public void setCorrespondingField(String correspondingField) {
            this.correspondingField = correspondingField;
            }

    public String getIsExport(){
            return isExport;
            }

        public void setIsExport(String isExport) {
            this.isExport = isExport;
            }

    public String getIsDefault(){
            return isDefault;
            }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
            }

    public String getIsShow(){
            return isShow;
            }

        public void setIsShow(String isShow) {
            this.isShow = isShow;
            }

    public String getIsEnable(){
            return isEnable;
            }

        public void setIsEnable(String isEnable) {
            this.isEnable = isEnable;
            }

    public String getTableId(){
            return tableId;
            }

        public void setTableId(String tableId) {
            this.tableId = tableId;
            }

    public static final String ID ="id";

    public static final String FILED_DESCRIBE ="filed_describe";

    public static final String FIELD_NAME ="field_name";

    public static final String DATA_TYPE ="data_type";

    public static final String CREATE_TIME ="create_time";

    public static final String CORRESPONDING_FIELD ="corresponding_field";

    public static final String IS_EXPORT ="is_export";

    public static final String IS_DEFAULT ="is_default";

    public static final String IS_SHOW ="is_show";

    public static final String IS_ENABLE ="is_enable";

    public static final String TABLE_ID ="table_id";

    public static final String FILED_ORDER ="filed_order";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsEnvironmentProtectionItem{" +
                ", id=" + id +
                ", filedDescribe=" + filedDescribe +
                ", fieldName=" + fieldName +
                ", dataType=" + dataType +
                ", createTime=" + createTime +
                ", correspondingField=" + correspondingField +
                ", isExport=" + isExport +
                ", isDefault=" + isDefault +
                ", isShow=" + isShow +
                ", isEnable=" + isEnable +
                ", tableId=" + tableId +
                ", filedOrder=" + filedOrder +
        "}";
        }
        }
